import re
import sys

pattern = r'^[a-z][a-zA-Z0-9]*$'

module_name = '{{ cookiecutter.project_name }}'

if not re.match(pattern, module_name):
    print('ERROR: %s not a capitalize variable!' % module_name)
    sys.exit(0)
